Skip to content

Fix lookupNamespaceURI / lookupPrefix for Document / Attributes.#214

Open
DrRataplan wants to merge 1 commit intojindw:masterfrom
DrRataplan:master
Open

Fix lookupNamespaceURI / lookupPrefix for Document / Attributes.#214
DrRataplan wants to merge 1 commit intojindw:masterfrom
DrRataplan:master

Conversation

@DrRataplan
Copy link

This fixes #213.

I could not figure out how to run the unit tests, running npm run test only runs one test...
I have added two of them though, testing the changed functions.

This version better aligns with the spec (https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespaceURIAlgo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document#lookupNamespaceURI / Document#lookupPrefix are not implemented according to spec

1 participant